All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.apple.alpha.app.PrintInfo

java.lang.Object
   |
   +----com.apple.alpha.core.NativeObject
           |
           +----com.apple.alpha.app.PrintInfo

public class PrintInfo
extends NativeObject
implements Coding
This class wraps the Objective-C class NSPrintInfo.


Variable Index

 o AutoPagination
 o ClipPagination
 o FitPagination
 o LandscapeOrientation
 o PortraitOrientation

Constructor Index

 o PrintInfo()
This default constructor is equivalent to Objective-C's [[NSPrintInfo alloc] init].
 o PrintInfo(boolean, int)
Protected constructor used by the bridge to wrap an Objective-C object.
 o PrintInfo(Coder)
This constructor has the same effect as calling - initWithCoder: on a newly allocated object.
 o PrintInfo(Dictionary)
This constructor has the same effect as calling - initWithDictionary: on a newly allocated object.

Method Index

 o bottomMargin()
A wrapper for the - bottomMargin Objective-C instance method.
 o defaultPrinter()
A wrapper for the + defaultPrinter Objective-C class method.
 o dictionary()
A wrapper for the - dictionary Objective-C instance method.
 o encodeWithCoder(Coder)
A wrapper for the - encodeWithCoder: Objective-C instance method defined by the Coding interface (known as the NSCoding Objective-C protocol).
 o horizontalPagination()
A wrapper for the - horizontalPagination Objective-C instance method.
 o isHorizontallyCentered()
A wrapper for the - isHorizontallyCentered Objective-C instance method.
 o isVerticallyCentered()
A wrapper for the - isVerticallyCentered Objective-C instance method.
 o jobDisposition()
A wrapper for the - jobDisposition Objective-C instance method.
 o leftMargin()
A wrapper for the - leftMargin Objective-C instance method.
 o orientation()
A wrapper for the - orientation Objective-C instance method.
 o paperName()
A wrapper for the - paperName Objective-C instance method.
 o paperSize()
A wrapper for the - paperSize Objective-C instance method.
 o printer()
A wrapper for the - printer Objective-C instance method.
 o rightMargin()
A wrapper for the - rightMargin Objective-C instance method.
 o setBottomMargin(float)
A wrapper for the - setBottomMargin: Objective-C instance method.
 o setDefaultPrinter(Printer)
A wrapper for the + setDefaultPrinter: Objective-C class method.
 o setHorizontallyCentered(boolean)
A wrapper for the - setHorizontallyCentered: Objective-C instance method.
 o setHorizontalPagination(int)
A wrapper for the - setHorizontalPagination: Objective-C instance method.
 o setJobDisposition(String)
A wrapper for the - setJobDisposition: Objective-C instance method.
 o setLeftMargin(float)
A wrapper for the - setLeftMargin: Objective-C instance method.
 o setOrientation(int)
A wrapper for the - setOrientation: Objective-C instance method.
 o setPaperName(String)
A wrapper for the - setPaperName: Objective-C instance method.
 o setPaperSize(Size)
A wrapper for the - setPaperSize: Objective-C instance method.
 o setPrinter(Printer)
A wrapper for the - setPrinter: Objective-C instance method.
 o setRightMargin(float)
A wrapper for the - setRightMargin: Objective-C instance method.
 o setSharedPrintInfo(PrintInfo)
A wrapper for the + setSharedPrintInfo: Objective-C class method.
 o setTopMargin(float)
A wrapper for the - setTopMargin: Objective-C instance method.
 o setUpPrintOperationDefaultValues()
A wrapper for the - setUpPrintOperationDefaultValues Objective-C instance method.
 o setVerticallyCentered(boolean)
A wrapper for the - setVerticallyCentered: Objective-C instance method.
 o setVerticalPagination(int)
A wrapper for the - setVerticalPagination: Objective-C instance method.
 o sharedPrintInfo()
A wrapper for the + sharedPrintInfo Objective-C class method.
 o sizeForPaperName(String)
A wrapper for the + sizeForPaperName: Objective-C class method.
 o topMargin()
A wrapper for the - topMargin Objective-C instance method.
 o verticalPagination()
A wrapper for the - verticalPagination Objective-C instance method.

Variables

 o PortraitOrientation
 public static final int PortraitOrientation
 o LandscapeOrientation
 public static final int LandscapeOrientation
 o AutoPagination
 public static final int AutoPagination
 o FitPagination
 public static final int FitPagination
 o ClipPagination
 public static final int ClipPagination

Constructors

 o PrintInfo
 protected PrintInfo(boolean shouldAllocate,
                     int objcObject)
Protected constructor used by the bridge to wrap an Objective-C object. It should never be invoked directly.

 o PrintInfo
 public PrintInfo()
This default constructor is equivalent to Objective-C's [[NSPrintInfo alloc] init].

 o PrintInfo
 public PrintInfo(Coder aDecoder)
This constructor has the same effect as calling - initWithCoder: on a newly allocated object.

 o PrintInfo
 public PrintInfo(Dictionary aDict)
This constructor has the same effect as calling - initWithDictionary: on a newly allocated object.

Methods

 o setPaperName
 public native void setPaperName(String name)
A wrapper for the - setPaperName: Objective-C instance method.

 o paperName
 public native String paperName()
A wrapper for the - paperName Objective-C instance method.

 o setPaperSize
 public native void setPaperSize(Size aSize)
A wrapper for the - setPaperSize: Objective-C instance method.

 o paperSize
 public native Size paperSize()
A wrapper for the - paperSize Objective-C instance method.

 o setOrientation
 public native void setOrientation(int orientation)
A wrapper for the - setOrientation: Objective-C instance method.

 o orientation
 public native int orientation()
A wrapper for the - orientation Objective-C instance method.

 o setLeftMargin
 public native void setLeftMargin(float margin)
A wrapper for the - setLeftMargin: Objective-C instance method.

 o setRightMargin
 public native void setRightMargin(float margin)
A wrapper for the - setRightMargin: Objective-C instance method.

 o setTopMargin
 public native void setTopMargin(float margin)
A wrapper for the - setTopMargin: Objective-C instance method.

 o setBottomMargin
 public native void setBottomMargin(float margin)
A wrapper for the - setBottomMargin: Objective-C instance method.

 o leftMargin
 public native float leftMargin()
A wrapper for the - leftMargin Objective-C instance method.

 o rightMargin
 public native float rightMargin()
A wrapper for the - rightMargin Objective-C instance method.

 o topMargin
 public native float topMargin()
A wrapper for the - topMargin Objective-C instance method.

 o bottomMargin
 public native float bottomMargin()
A wrapper for the - bottomMargin Objective-C instance method.

 o setHorizontallyCentered
 public native void setHorizontallyCentered(boolean flag)
A wrapper for the - setHorizontallyCentered: Objective-C instance method.

 o isHorizontallyCentered
 public native boolean isHorizontallyCentered()
A wrapper for the - isHorizontallyCentered Objective-C instance method.

 o setVerticallyCentered
 public native void setVerticallyCentered(boolean flag)
A wrapper for the - setVerticallyCentered: Objective-C instance method.

 o isVerticallyCentered
 public native boolean isVerticallyCentered()
A wrapper for the - isVerticallyCentered Objective-C instance method.

 o setHorizontalPagination
 public native void setHorizontalPagination(int mode)
A wrapper for the - setHorizontalPagination: Objective-C instance method.

 o horizontalPagination
 public native int horizontalPagination()
A wrapper for the - horizontalPagination Objective-C instance method.

 o setVerticalPagination
 public native void setVerticalPagination(int mode)
A wrapper for the - setVerticalPagination: Objective-C instance method.

 o verticalPagination
 public native int verticalPagination()
A wrapper for the - verticalPagination Objective-C instance method.

 o setPrinter
 public native void setPrinter(Printer pr)
A wrapper for the - setPrinter: Objective-C instance method.

 o printer
 public native Printer printer()
A wrapper for the - printer Objective-C instance method.

 o setJobDisposition
 public native void setJobDisposition(String disposition)
A wrapper for the - setJobDisposition: Objective-C instance method.

 o jobDisposition
 public native String jobDisposition()
A wrapper for the - jobDisposition Objective-C instance method.

 o setUpPrintOperationDefaultValues
 public native void setUpPrintOperationDefaultValues()
A wrapper for the - setUpPrintOperationDefaultValues Objective-C instance method.

 o dictionary
 public native MutableDictionary dictionary()
A wrapper for the - dictionary Objective-C instance method.

 o setSharedPrintInfo
 public static native void setSharedPrintInfo(PrintInfo printInfo)
A wrapper for the + setSharedPrintInfo: Objective-C class method.

 o sharedPrintInfo
 public static native PrintInfo sharedPrintInfo()
A wrapper for the + sharedPrintInfo Objective-C class method.

 o defaultPrinter
 public static native Printer defaultPrinter()
A wrapper for the + defaultPrinter Objective-C class method.

 o setDefaultPrinter
 public static native void setDefaultPrinter(Printer pr)
A wrapper for the + setDefaultPrinter: Objective-C class method.

 o sizeForPaperName
 public static native Size sizeForPaperName(String name)
A wrapper for the + sizeForPaperName: Objective-C class method.

 o encodeWithCoder
 public native void encodeWithCoder(Coder aCoder)
A wrapper for the - encodeWithCoder: Objective-C instance method defined by the Coding interface (known as the NSCoding Objective-C protocol).


All Packages  Class Hierarchy  This Package  Previous  Next  Index